import Layout from '@/layout'

const Router = {
  path: '/moneyManagement',
  component: Layout,
  redirect: '/withdrawal-list',
  name: 'withdrawal',
  
  meta: {
    title: '资金管理',
    icon: 'icon_zijin0'
  },
  children: [
    {
      path: 'withdrawal-list',
      component: () => import('@/views/moneyManagement/withdrawal/withdrawalList'),
      name: 'withdrawalList',
      meta: { title: '提现管理', noCache: true }
    },
    {
      path: 'import-export',
      component: () => import('@/views/moneyManagement/importExport/importExport'),
      name: 'importExport',
      meta: { title: '资金汇入汇出', noCache: true }
    },
    {
      path: 'withdrawal-details',
      component: () => import('@/views/moneyManagement/withdrawal/WithdrawalDetails'),
      name: 'WithdrawalDetails',
      hidden: true,
      meta: { title: '账单详情', noCache: true }
    },
    {
      path: 'bill-list',
      component: () => import('@/views/moneyManagement/bill/billList'),
      name: 'billList',
      meta: { title: '账单查询', noCache: true }
    },
    {
      path: 'bill-list-old',
      component: () => import('@/views/moneyManagement/bill/billListOld'),
      name: 'billListOld',
      meta: { title: '账单查询(旧)', noCache: true }
    },
    {
      path: 'money-list',
      component: () => import('@/views/moneyManagement/money/moneyList'),
      name: 'moneyList',
      meta: { title: '第三方商户进件', noCache: true }
    },
    
    {
      path: 'moneyAccount-list',
      component: () => import('@/views/moneyManagement/moneyAccount/moneyAccountList'),
      name: 'moneyAccountList',
      meta: { title: '资金账户管理', noCache: true }
    },
    {
      path: 'add-money',
      component: () => import('@/views/moneyManagement/money/addMoney'),
      hidden: true,
      name: 'addMoney',
      meta: { title: '新建资金账户', noCache: true }
    },
    {
      path: 'bill-detail',
      component: () => import('@/views/moneyManagement/bill/billDetail'),
      name: 'billDetail',
      hidden: true,
      meta: { title: '账单详情', noCache: true }
    },
    {
      path: 'edit-rate',
      component: () => import('@/views/moneyManagement/money/editRate'),
      hidden: true,
      name: 'editRate',
      meta: { title: '修改费率', noCache: true }
    },
    {
      path: 'edit-eettlement',
      component: () => import('@/views/moneyManagement/money/editEettlement'),
      hidden: true,
      name: 'editEettlement',
      meta: { title: '修改结算方式', noCache: true }
    },
    {
      path: 'money-detail',
      component: () => import('@/views/moneyManagement/money/moneyDetail'),
      hidden: true,
      name: 'moneyDetail',
      meta: { title: '子账户进件申请详情', noCache: true }
    },
    {
      path: 'bankSupervision-list',
      component: () => import('@/views/moneyManagement/bankSupervision/bankSupervisionList'),
      hidden: true,
      name: 'bankSupervisionList',
      meta: { title: '银行存管与释放规则', noCache: true }
    },
    {
      path: 'equityCardBill-list',
      component: () => import('@/views/moneyManagement/equityCardBill/index'),
      hidden: true,
      name: 'equityCardBillList',
      meta: { title: '数字权益卡购卡查询', noCache: true }
    },
    
  ]
}

export default Router